package com.mikhailenko.transportMVC.service.es;

import java.util.List;

import com.mikhailenko.transportMVC.exeption.es.ESNotFoundException;
import com.mikhailenko.transportMVC.model.es.ESEntity;


public interface ESService{

    public ESEntity create(ESEntity es);

    public ESEntity delete(int id) throws ESNotFoundException;

    public List<ESEntity> findAll();

    public ESEntity update(ESEntity es) throws ESNotFoundException;

    public ESEntity findById(int id);
    
}
